from fastapi import APIRouter
from app.core.dependency import DependPermisson
from .commission  import commission_router
from .integral import integral_router
from .integral_rule import integral_rule_router
from .lives import lives_router
from .draw import draw_router
from .draw_rule import draw_rule_router
from .coupons import coupons_router
from .coupons_rule import coupons_rule_router
from .deposit import deposit_router

marketing_router = APIRouter()
marketing_router.include_router(commission_router, prefix="/commission", tags=["后端-营销类目-佣金"], dependencies=[DependPermisson])
marketing_router.include_router(integral_router, prefix="/integral", tags=["后端-营销类目-积分"], dependencies=[DependPermisson])
marketing_router.include_router(integral_rule_router, prefix="/integral_rule", tags=["后端-营销类目-积分规则"], dependencies=[DependPermisson])
marketing_router.include_router(lives_router, prefix="/lives", tags=["后端-营销类目-直播"], dependencies=[DependPermisson])
marketing_router.include_router(draw_rule_router, prefix="/draw_rule", tags=["后端-营销类目-抽奖规则"], dependencies=[DependPermisson])
marketing_router.include_router(draw_router, prefix="/draw", tags=["后端-营销类目-抽奖记录"], dependencies=[DependPermisson])
marketing_router.include_router(coupons_rule_router, prefix="/coupons_rule", tags=["后端-营销类目-优惠券规则"], dependencies=[DependPermisson])
marketing_router.include_router(coupons_router, prefix="/coupons", tags=["后端-营销类目-优惠券记录"], dependencies=[DependPermisson])
marketing_router.include_router(deposit_router, prefix="/deposit", tags=["后端-营销类目-储值记录"], dependencies=[DependPermisson])